import entity.Address;
import entity.MasterNumber;
import entity.Person;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class App {
  private static final String NO_MATCH_MASTER_NUMBER = "0000999999";
  public static void main(String[] args) {
    PersonService personService = new PersonService();
    //TODO: print Person data that masterNumber is 1 and 2
    // print Person data that masterNumber is 3
    Stream<Person> personStream12 = personService.getPersonByMasterNumbers(Arrays.asList(new MasterNumber("1"), new MasterNumber("2")));
    personStream12.forEach(System.out::println);
    Stream<Person> personStream3 = personService.getPersonByMasterNumbers(Arrays.asList(new MasterNumber("3")));
    personStream3.forEach(System.out::println);
  }

}
